package models

import "gorm.io/gorm"

type Animals struct {
	gorm.Model
	Petname   string  `gorm:"type:varchar(30)" json:"petname"`
	Img       string  `gorm:"type:varchar(255)" json:"img"`
	Address   string  `gorm:"type:varchar(30)" json:"address"`
	PeoplesId int     `gorm:"type:int" json:"peoples_id"`
	Peoples   Peoples `gorm:"foreignKey:PeoplesId"`
}
